﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class category_propvalue
    {
		public string id=null;
		public string name=null;
		public string name_alias=null;
		public string category_id=null;
		public string property_id=null;
        public string __name__;
        public category_propvalue(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.name = string.Format("{0}.name",__name__);
			this.name_alias = string.Format("{0}.name_alias",__name__);
			this.category_id = string.Format("{0}.category_id",__name__);
			this.property_id = string.Format("{0}.property_id",__name__);
        }
        public category_propvalue()
        {
			this.id = string.Format("{0}.id",__name__);
			this.name = string.Format("{0}.name",__name__);
			this.name_alias = string.Format("{0}.name_alias",__name__);
			this.category_id = string.Format("{0}.category_id",__name__);
			this.property_id = string.Format("{0}.property_id",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "category_propvalue";
            }
            else
            {
                return string.Format("category_propvalue as {0}",__name__);
            }
        }
    }
}